package com.ajie.service;

import cn.hutool.json.JSONObject;
import com.ajie.entity.SysUser;
import com.ajie.entity.dto.Option;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author: ajie
 * @createTime: 2024-06-22 18:10
 */
public interface SysUserService extends IService<SysUser> {
    List<Option> getRoles(String id);

    void insertRole(String id, List<Object> roleIds);

    void deleteRole(String id);

    List<String> listRoleByUserId(String toString);

    List<String> listPermissionByRoleCode(String roleCode);

    List<JSONObject> listMenu();
}
